package org.tmsps.ne4spring.orm.param;

import org.tmsps.ne4spring.utils.ChkUtil;

public class NeParam {

	private boolean isNull;
	private Object value;

	public boolean getIsNull() {
		return isNull;
	}

	public void setIsNull(boolean isNull) {
		this.isNull = isNull;
	}

	public Object getValue() {
		return value;
	}

	public void setValue(Object value) {
		if (ChkUtil.isNull(value)) {
			this.setIsNull(true);
		}

		this.value = value;
	}

}
